package com.xxxx.yeb.service;

import com.xxxx.yeb.pojo.RespBean;
import com.xxxx.yeb.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhoubin
 * @since 2020-07-17
 */
public interface IRoleService extends IService<Role> {


    List<Role> queryAllRole();



    RespBean updateUserRoleById(Integer adminId, Integer[] rids);


    RespBean deleteRole(Integer rid);


    RespBean insertRole(String name, String nameZh);

    RespBean updatePermitsByRoleId(Integer rid, Integer[] mids);
}
